<div id="tabs" class="view-details">
	<ul>
		<li><a href="#tabs-1">Login</a></li>
		<li><a href="#tabs-2">Details</a></li>
	</ul>
	<div id="tabs-1" class="patient-details">
		<ul class="main-two-cols">
			<li class="two-cols-left">
				<ul class="rows">
					<li class="leftcol">Username</li>
					<li class="rightcol"><?=$row['username']?></li>
				</ul>
				<ul class="rows">
					<li class="leftcol">User Type / Category</li>
					<li class="rightcol"><?=$row['user_type_label']?></li>
				</ul>
				<ul class="rows">
					<li class="leftcol">User Group</li>
					<li class="rightcol"><?=$row['group_name']?></li>
				</ul>
			</li>
		</ul>
	</div>
	<div id="tabs-2" class="patient-notes">&nbsp;</div>
</div>

<script type="text/javascript">
	$(document).ready(function() {
		<?if($row['is_practicioner'] == 1){?>
			$("#tabs-2").load("view-practicioner&id=<?=$user_id?>");
		<?}else{?>
			$("#tabs-2").load("view-nonpracticioner&id=<?=$user_id?>");
		<?}?>
	});
</script>